package com.domain;

/**
 * 创建一个用于分页的实体
 * 
 * @author 无边的绿波
 * 
 */
public class Page {

	private int pageCount; // 页数
	private int start;
	private int limit;

	public Page() {
		super();
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public Page(int pageCount, int start, int limit) {
		super();
		this.pageCount = pageCount;
		this.start = start;
		this.limit = limit;
	}

	@Override
	public String toString() {
		return "Page [pageCount=" + pageCount + ", start=" + start + ", limit="
				+ limit + "]";
	}

}
